<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>修改纳税个人申报信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="${ctx}/css/ui.datepicker.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
	<script src="${ctx}/js/table.js" type="text/javascript" language="javascript"></script>
	<script src="${ctx}/js/jquery-1.5.2.js" type="text/javascript" charset="utf-8"></script>
	<script src="${ctx}/js/ui.datepicker.js" type="text/javascript" charset="utf-8"></script>	
	<script src="${ctx}/js/ui.datepicker-zh-CN.js" type="text/javascript" charset="utf-8"></script>	
	<script src="${ctx}/js/help.js" type="text/javascript" ></script>
	<script type="text/javascript" charset="utf-8">
	jQuery(function($){
		$('#b_openTime').datepicker({
				yearRange: '1900:2099', //取值范围.
				showOn: 'both', //输入框和图片按钮都可以使用日历控件。
				buttonImage: '${pageContext.request.contextPath}/images/calendar.gif', //日历控件的按钮
				buttonImageOnly: true,
				showButtonPanel: true
			});		
		});
	</script>	
<style type="text/css">
body{
	background-color:#F2FDDB;
}
#button {
	position:absolute;
	width:1100px;
	height:21px;
	z-index:1;
	left: 0px;
	top: 0px;
	background-color: #333333;
}
a{
text-decoration:none;
}
a:link,a:visited,a:hover{
text-decoration:none;
color:#333333;
}
#Layer1 {
	position:absolute;
	width:1070px;
	height:116px;
	z-index:2;
	left: 0px;
	top: 176px;
}
#content {	position:absolute;
	width:1070px;
	height:172px;
	z-index:2;
	left: 0px;
	top: 0px;
}
.style{
background-color:#CCCCFF;
border:1px solid #BFD1EB;
}
.STYLE1 {color: #FF0000}
#tishi {
	position:absolute;
	width:185px;
	height:40px;
	z-index:3;
	left: 9px;
	top: 36px;
}
#div1{
position:absolute;
background:#FFFFCC;
left:880px;
top:55px;
overflow:hidden;
width:180px;
display:none;
z-index:5;
}
.c {width:20px;height:20px;}
.c ul {margin:0px;padding:0px;}
.c ul li{width:16px;height:17px;float:left; 
background-image:url('${ctx}/images/help.jpg');
list-style-type:none}
</style>
<script type="text/javascript" charset="utf-8">
function validate(){
	if(document.getElementById("b_id").value==""){
		alert("纳税人识别码不能为空");
		return false;
	}
	if(document.getElementById("b_username").value==""){
		alert("纳税人姓名不能为空");
		return false;
	}
	if(document.getElementById("b_bankname").value==""){
		alert("开户银行还没选择");
		return false;
	}
	if(document.getElementById("b_banknumber").value==""){
		alert("银行帐号还没输入");
		return false;
	}
	if(document.getElementById("b_banknumber").value.length!=19){
	    alert("银行帐号为19位数字");
	    return false;
	}
	if(document.getElementById("b_openTime").value==""){
		alert("开户时间还没输入");
		return false;
	}
	if(document.getElementById("b_banlipeople").value==""){
		alert("办理开户人员的姓名还没输入");
		return false;
	}
	if(document.getElementById("b_callnumber").value==""){
		alert("请输入有效联系方式");
		return false;
	}
	if(document.getElementById("b_bankadd").value==""){
		alert("银行地址为空，请输入");
		return false;
	}
	return true;
}
function checkByNumber(){
	if(document.getElementById("b_id").value==""){
		alert("纳税人识别码不能为空");
		return false;
	}
	if(document.getElementById("b_id").value.length!=18){
	    alert("纳税人识别码为18位数字");
	    return false;
	}
   
   return false;
}
</script>
</head>
  <div id="content">
  <table width="1070" border="0" cellspacing="0">
  <tr>
    <td>
	<form id="form1" name="form1" action="${ctx}/manage/metax_update.action?entity.etf_id=${entity.etf_id}" method="post" onSubmit="return validate();">
	<fieldset>
	<legend></legend>
	<legend></legend>
	<legend></legend>
	<div align="center">
	  <legend>修改纳税企业申报信息</legend>
	</div>
	<p>&nbsp;</p>
	<table  border="0" cellspacing="0" cellpadding="5" align="center">
   
   <tr>
      <td width="126">纳税人识别码：</td>
      <td width="196"><input name="entity.etf_idnumber" type="text" id="entity.etf_idnumber" value="${entity.etf_idnumber}" size=28/></td>
      <td width="144">纳税人姓名：</td>
      <td width="200"><input name="entity.etf_taxpayername" type="text" id="entity.etf_taxpayername" value="${entity.etf_taxpayername}" size=28/></td>
   </tr>
   <tr>
      <td>国籍：</td>
      <td><input name="entity.etf_nationality" type="text" id="entity.etf_nationality" value="${entity.etf_nationality}" size=28/></td>
      <td>身份证照类型：</td>
      <td><input name="entity.etf_identitylicensestype" type="text" id="entity.etf_identitylicensestype" value="${entity.etf_identitylicensestype}" size=28 /></td>
   </tr>
   <tr>
      <td>身份证号：</td>
      <td><input name="entity.etf_idcardnumber" type="text" id="entity.etf_idcardnumber" value="${entity.etf_idcardnumber}" size=28 /></td>
      <td>抵华日期：</td>
      <td><input name="entity.etf_arrivechinadate" type="text" id="entity.etf_arrivechinadate" value="${entity.etf_arrivechinadate}" size=28/></td>
   </tr>
   <tr>
      <td>职位：</td>
      <td><input name="entity.etf_vocation" type="text" id="entity.etf_vocation" value="${entity.etf_vocation}" size=28 /></td>
      <td>任职受雇单位：</td>
      <td><input name="entity.etf_ynitname" type="text" id="entity.etf_ynitname" value="${entity.etf_ynitname}" size=28/></td>
   </tr>
   <tr>
      <td>经常居住地：</td>
      <td><input name="entity.etf_normaladdress" type="text"  id="entity.etf_normaladdress" value="${entity.etf_normaladdress}" size=28 /></td>
      <td>中国境内有效地址：</td>
      <td><input name="entity.etf_domesticefcontactadd" type="text" id="entity.etf_domesticefcontactadd" value="${entity.etf_domesticefcontactadd}" size=28/></td>
   </tr>
   <tr>
      <td>联系电话：</td>
      <td><input name="entity.etf_contactway" type="text" id="entity.etf_contactway" value="${entity.etf_contactway}" size=28/></td>
      <td>税款所属期：</td>
      <td><input name="entity.etf_taxterm" type="text" id="entity.etf_taxterm" value="${entity.etf_taxterm}" size=28/></td>
   </tr>
   <tr>
      <td>填表日期：</td>
      <td><input name="entity.etf_filldate" type="text" id="entity.etf_filldate" value="${entity.etf_filldate}" size=28/></td>
      <td>金额单位：</td>
      <td><input name="entity.etf_moneyunit" type="text" id="entity.etf_moneyunit" value="${entity.etf_moneyunit}" size=28 /></td>
   </tr>
   <tr>
      <td>所那税项目：</td>
      <td >
<input name="entity.etf_taxableitems" type="text" id="entity.etf_taxableitems" value="${entity.etf_taxableitems}" size=28 /></td>
      <td>受理机关名称：</td>
      <td><input name="entity.etf_taxauthority" type="text" id="entity.etf_taxauthority" value="${entity.etf_taxauthority}" size=28 /></td>
   </tr>
   <tr>
      <td>年所得额(境内)：</td>
      <td><input name="entity.etf_moneyin" type="text" id="entity.etf_moneyin" value="${entity.etf_moneyin}" size=28 /></td>
      <td>年所得额(境外）：</td>
      <td><input name="entity.etf_moneyout" type="text" id="entity.etf_moneyout" value="${entity.etf_moneyout}" size=28/></td>
   </tr>
   <tr>
      <td>应纳税额：</td>
      <td><input name="entity.etf_taxliability" type="text" id="entity.etf_taxliability" value="${entity.etf_taxliability}" size=28/></td>
      <td>税率：</td>
      <td><input name="entity.etf_taxtrate" type="text" id="entity.etf_taxtrate" value="${entity.etf_taxtrate}" size=28/></td>
   </tr>
   <tr>
      <td>年所得额总计：</td>
      <td><input name="entity.etf_taxtotal" type="text" id="entity.etf_taxtotal" value="${entity.etf_taxtotal}" size=28 /></td>
      <td>已交税额：</td>
      <td><input name="entity.etf_amounttaxpaid" type="text" id="entity.etf_amounttaxpaid" value="${entity.etf_amounttaxpaid}" size=28 /></td>
   </tr>
   <tr>
      <td>抵扣税额：</td>
      <td><input name="entity.etf_taxdeductible" type="text" id="entity.etf_taxdeductible" value="${entity.etf_taxdeductible}" size=28 /></td>
      <td>应退税额：</td>
      <td><input name="entity.etf_taxback" type="text" id="entity.etf_taxback" value="${entity.etf_taxback}" size=28 /></td>
   </tr>
   <tr>
      <td>受理人：</td>
      <td><input name="entity.etf_responsibletaxofficer" type="text" id="entity.etf_responsibletaxofficer" value="${entity.etf_responsibletaxofficer}" size=28/></td>
      <td>代理人名称：</td>
      <td><input name="entity.etf_agent" type="text" id="entity.etf_agent" value="${entity.etf_agent}" size=28/></td>
   </tr>
   <tr>
      <td>经办人：</td>
      <td><input name="entity.etf_taxexecutive" type="text" id="entity.etf_taxexecutive" value="${entity.etf_taxexecutive}" size=28 /></td>
      <td>受理日期：</td>
      <td><input name="entity.etf_responsibedate" type="text" id="entity.etf_responsibedate" value="${entity.etf_responsibedate}" size=28 /></td>
   </tr>
   <tr>
   <td height="35"><div align="center"></td>
   <td height="35" align="center"><input style="width:70px; height:25px;"type="submit" name="Submit22" value="修改"></td>
   <td height="35" align="center"><input  style="width:70px; height:25px;"type="reset" name="Submit2" value="重 置"></td>
   <td height="35">&nbsp;</td>
   </tr>
</table>
  </fieldset>
    </form>
	</td>
  </tr>
</table>

  
<fieldset>
<fieldset>

</fieldset>
</fieldset>
  </div>
    </body>
</html>
